/**
 * 
 */
package com.runningfox.humor;

/**
 * @author luhaiyang
 * process signal
 */
public class Action {
	/**
	 * get the new joke list from server
	 */
	public final static int HOME=1;
	
	public final static int LIKE=2;
	public final static int DISLIKE=3;
	public final static int OLD=4;
	public final static int DETAIL=5;
	public final static int HTTP200=6;
	public final static int HTTP404=7;
	public final static int HTTPFAIL=8;
	public final static int HTTP500=9;
	public final static int PARSING=10;
	public final static int PARSEFAILED =11;
	/**
	 * update the latest data from server
	 */
	public final static int SYNC=12;
	public final static int SYNCSUCEED=13;
	/**
	 * synchronise faild
	 */
	public final static int SYNCFAILED=14;
	
	/**
	 * read more data from local database
	 */
	public final static int MORELOCAL=15;
	/**
	 * read more data from server
	 */
	public final static int MORENET=16;
	
	/**
	 * the home list not sync from the server
	 */
	public final static int NOTLOADEDHOMEPAGE=17;
	
	public final static int LOADHOMEPAGEFAIL =18;
	
	public final static int STARTLOADING =19;
	public final static int ENDLOADING=20;
	
	public final static int LOADJOKEFAIL=21;
	public final static int LOADJOKE=22;

	public final static int LOADUNREAD =23;
	
	public final static int LOADALL=24;
	
	public final static int LOADFAVOURITE=25;
	
	public final static int LOADCOMMENT=26;
	public final static int LOADCOMMENTFAIL=27;
	

	/**
	 * 修改用户名称成功
	 */
	public final static int CHANGEUSERNAME = 28;
	
	/**
	 * 修改用户名称失败
	 */
	public final static int CHANGEUSERNAMEFAIL = 29;
	
	/**
	 * 读取已读笑话
	 */
	public final static int LOADREAD=30;
	public final static int CACHEHIT=1000;
	public final static int CAHCEMISS=1001;
	public final static int CAHCEREFRESH=1002;
	

}
